package com.dinglexiao.service;

import com.dinglexiao.common.lang.Result;
import com.dinglexiao.dto.AccountDTO;
import com.dinglexiao.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dlx
 * @since 2020-09-16
 */
public interface UserService extends IService<User> {
    //登录验证
    Result validateLogin(AccountDTO accountDTO, HttpServletResponse response);

    //用户注册
    Result registerAccount(User user);
}
